package com.itany.ums.dao;

import com.itany.ums.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * Author:shixiaojun@itany.com
 * Date:2022/3/10 9:21
 * Version:1.0-SNAPSHOT
 */
public interface UserDao {

    public User selectByUsername(String username);

    public void insertUser(User user);

    public User selectByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
}
